package application.common.render;

import javafx.beans.property.SimpleStringProperty;

public final class CriminalProperty {

	private final SimpleStringProperty archiveNo = new SimpleStringProperty();
	private final SimpleStringProperty name = new SimpleStringProperty();
	private final SimpleStringProperty sfzh = new SimpleStringProperty();
	private final SimpleStringProperty status = new SimpleStringProperty();
	private final SimpleStringProperty statusName = new SimpleStringProperty();
	private final SimpleStringProperty expireDate = new SimpleStringProperty();
	
	public CriminalProperty(Criminal criminal) {
		archiveNo.set(criminal.getArchiveNo());
		name.set(criminal.getName());
		sfzh.set(criminal.getSfzh());
		statusName.set(criminal.getStatusName());
		expireDate.set(criminal.getExpireDate());
	}


	public String getArchiveNo() {
		return archiveNo.get();
	}

	public String getName() {
		return name.get();
	}

	public String getSfzh() {
		return sfzh.get();
	}

	public String getStatus() {
		return status.get();
	}

	public String getStatusName() {
		return statusName.get();
	}

	public String getExpireDate() {
		return expireDate.get();
	}

	
	
	
}
